package com.sqoq.downloader3.retrofit

import com.sqoq.downloader3.bean_ddg.AnalysisVideoBean_ddg
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.Headers
import retrofit2.http.POST

interface ApiService {
    //    @Headers("Content-Type:application/json")
//    @POST("/resource/v2/download")
//    suspend fun pasteVideo(
//        @Body requestBody: RequestBody,
//    ): VideoBean
    @Headers("Content-Type:application/json")
    @POST("/ss/download")
    suspend fun pasteVideo_ddg(
        @Body requestBody: RequestBody,
    ): AnalysisVideoBean_ddg
//
//    @GET("/api2/tiktok/listById")
//    suspend fun listBylId(
//        @Query("ids") type: String
//    ): ArrayList<NewVideoBean>

//    @POST("/api/tiktok/index")
//    suspend  fun checkVersion223(
//        @Body  requestBody: RequestBody,
//    ): BaseList<NewVideoBean>

//    @FormUrlEncoded
//    @POST("/api/tiktok/index")
//    suspend  fun getVideo(
//        @FieldMap map: ParameterMap,
//    ): BaseList<NewVideoBean>

//    @FormUrlEncoded
//    @POST("/api/tiktok/log")
//    suspend fun log(
//        @FieldMap map: ParameterMap,
//    ): String
}